package com.vedu.user.service;

import com.vedu.user.entity.bo.UserBo;
import com.vedu.user.entity.po.UserPo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * version: 1.0
 *
 * @author yuancheng.li [create on 2018/8/1 23:43 ]
 */
public interface UserService {

    /**
     * 创建用户
     * @param bo
     * @return
     */
    boolean createUser(UserBo bo);

    /**
     *
     * @param userName
     * @param password
     * @return
     */
    UserBo findUser(String userName, String password);

    /**
     *
     * @param userId
     * @return
     */
    boolean findUserExists(Integer userId);

}
